package com.xiaochong.tir.common.data.mapper;


import com.xiaochong.tir.common.data.mapper.base.BaseDao;
import com.xiaochong.tir.common.data.po.ResearchReportList;
import com.xiaochong.tir.common.data.po.SyChannels;
import com.xiaochong.tir.common.data.po.SyLabel;
import com.xiaochong.tir.common.data.po.SyResearchReport;
import com.xiaochong.tir.common.data.vo.ResearchReportListVo;
import com.xiaochong.tir.common.data.vo.serchReportGradeVo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;


/**
 * 此类为[基础代码]自动生成，继承了BaseDao类，已经拥有基本的增删改成操作
 * <其他请自行扩展>
 * @author cx
 * @time 2018-04-28 10:39
 */
public interface SyResearchReportMapper extends BaseDao<SyResearchReport,Integer> {


    //自行扩展
    List<ResearchReportList> SelectReport(@Param("id") Integer id);

    List<serchReportGradeVo> serchReportList(ResearchReportListVo vo);

    List<SyResearchReport> getReportList(SyResearchReport syResearchReport);

    List<SyResearchReport> getReportTourRankList();

    List<SyResearchReport> getReportDownloadRankList();

    int updateTourCount(SyResearchReport syResearchReport);

    int updateDownloadCount(SyResearchReport syResearchReport);

    List<SyChannels> ChannlList();
    List<SyResearchReport> getRecommend();

    List<SyLabel> labelList();

    List<SyResearchReport> getReportAllList(SyResearchReport syResearchReport);

    List<SyResearchReport> selreportlist(SyResearchReport report);
}